<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS弯曲外部卡片UI设计带悬停效果</title>
    <link rel="stylesheet" href="index.css">
</head>
<body>
    <div class="container">
        <div class="card">
            <div class="imgBx" style="--img:url('img1.jpg')"></div>
            <div class="content">
                <h3>New Design<br/><span>2 Hours ago</span></h3>
                <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Facere consequuntur magni assumenda distinctio nobis inventore iure?</p>
            </div>
        </div>
        <div class="card">
            <div class="imgBx" style="--img:url('img2.jpg')"></div>
            <div class="content">
                <h3>CSS Only<br/><span>5 Hours ago</span></h3>
                <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Facere consequuntur magni assumenda distinctio nobis inventore iure? </p>
            </div>
        </div>
    </div>
</body>
</html>